# $Id: PKGBUILD 48231 2009-10-13 17:00:49Z GunsNRose$
# Maintainer : GunsNRose<3444542@163.com>
pkgname=sam-ba
_pkgname="JLink_Linux"
pkgver=2.9
pkgrel=1
pkgdesc="at91 sam-ba downloader tool"
url="http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools"

#install=${pkgname}.install
groups=('embedded')
#P="${_pkgname}_${pkgver}"
P="${pkgname}_cdc_${pkgver}.linux_cdc_linux" 
_pkg_tar_file="${pkgname}_${pkgver}_cdc_linux.zip"
source="http://www.atmel.com/dyn/resources/prod_documents/${_pkg_tar_file}"

arch=('i686')
#makedepends=("xz-utils")
options=('emptydirs')
depends=('tcl')
#depends=('libusb')

license=('GPL')

build() {
    unzip ${_pkg_tar_file} || return 1
    cd $srcdir/${P} || return 1
}
#45-jlink.rules  JLinkExe  libjlinkarm.so  libjlinkarm.so.0  libjlinkarm.so.0.0  README  start

md5sums=('1c18e4f9998c90df516792cdd59839ec')
